import java.util.Scanner;


public class Exercicio6 {

	public static void main(String[] args) {
		
		System.out.println("Informe um numero: ");
		int num1 = new Scanner(System.in).nextInt();
		
		System.out.println("Informe outro numero: ");
		int num2 = new Scanner(System.in).nextInt();
		
		if (num1 < num2) System.out.println(num1 + ", " + num2);
		else System.out.println(num2 + ", " + num1);

	}

}
